from selenium.webdriver import ActionChains
from selenium import webdriver
from selenium.webdriver.common.by import By
driver = webdriver.Chrome()


driver.get("http://192.168.46.5:18089/login")

driver.find_elements(By.TAG_NAME, 'input')[0].send_keys("XTGLY")
driver.find_elements(By.TAG_NAME, 'input')[1].send_keys("123456")
a=driver.find_elements(By.TAG_NAME, 'input')[1]

# ActionChains(driver).click(点谁).perform()    鼠标操作语法

ActionChains(driver).double_click(a).perform()
ActionChains(driver).context_click(a).perform()
b=driver.find_element(By.XPATH, '//*[@id="signIn"]')
ActionChains(driver).click(b).perform()